package oop.ex1.filters;

import java.io.*;

/**This class extends IOException for handling with incorrect YES or NO input.
 * @author miron_6
 *
 */
public class YesNoException extends IOException {
	private static final long serialVersionUID = 1L;
	
	/**
	 * class constructor using IOException constructor.
	 */
	public YesNoException() {
		super("yes no Exception");
	}
	
	/**
	 * class constructor using IOException constructor.
	 */
	public YesNoException(String s) {
		super(s);
	}
}